// 接口在数组和枚举中的使用
{
    var SexType = void 0;
    (function (SexType) {
        SexType[SexType["BOY"] = 0] = "BOY";
        SexType[SexType["GIRL"] = 1] = "GIRL";
    })(SexType || (SexType = {}));
    var zrf = {
        name: 'zrf',
        age: 22,
        sex: SexType.BOY
    };
    var zeng = {
        name: 'zeng',
        age: 23,
        sex: SexType.BOY
    };
    var users = [zrf, zeng];
    console.log(users);
}
